package com.niodata.dp.task;

import com.niodata.dp.task.entity.DynamicExecution;
import java.util.Map;

/**
 * plugin executor,execute plugin with dynamic config info.
 */
public interface PluginExecutor {

  /**
   * execute plugin with given params.
   */
  public DynamicExecution execute(String plugin, String version,
      Map<String, String> params, long userId, long groupId, String dynamicExecName,
      String description, boolean isUserCreate, String integrationType)
      throws Exception;
}
